﻿<div id="editModal" tabindex="-1" class="modal fade in" aria-hidden="true">
    <div class="modal-dialog">
        <div class="box box-info">
            <div class="box-header with-border">
                <h5 class="box-title" id="Title"></h5>
                <button class="close" aria-label="Close" type="button" data-dismiss="modal">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <form class="form-horizontal">
                <input type="hidden" id="Id" />
                <input type="hidden" id="CreatedBy" />
                <input type="hidden" id="CreatedOn" />     
                <div class="box-body">                    
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">姓名</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="Name" type="text" placeholder="姓名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">管辖社区</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="Position" type="text" placeholder="职位">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">电话</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="Tel" type="text" placeholder="电话">
                        </div>
                    </div>                    
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">所属部门</label>
                        <div class="col-sm-10">
                            <select id="DepartmentId" class="form-control" style="padding:0px" onChange="changeDepartmentId(this.value)">
                             </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">所属二级部门</label>
                        <div class="col-sm-10">
                            <select id="SecDepartmentId" class="form-control" style="padding:0px">
                                
                            </select>                            
                        </div>
                    </div>                 
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">工作理念</label>
                        <div class="col-sm-10">
                            <textarea id="Description" class="form-control" rows="3"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">排序</label>
                        <div class="col-sm-10">
                            <input class="form-control" id="Sort" type="text" placeholder="请填写一个正整数">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">图片</label>
                        <div class="col-sm-10">                            
                            <input class="form-control" id="PicPath" type="hidden" />   
                            <div id="img"></div>                         
                            <input type="file" id="capture" capture="camera" accept="image/jpeg,image/jpg,image/png" />                           

                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="">优秀</label>
                        <div class="col-sm-10">
                            <input id="IsGood" type="checkbox">选中则在首页展示
                        </div>
                    </div>

                    

                </div>
                <div class="box-footer">
                    <div class="pull-right box-tools">
                        <button id="btnSave" class="btn btn-primary" type="button">保存</button>
                        <button class="btn btn-default" type="button" data-dismiss="modal">取消</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

